import AdminLayout from '@/layout/admin/index.vue'
export const AdminRouter =[
    {
        path:"/admin",
        name:"系统",
        meta:{
            isShow:true
        },
        component:AdminLayout,
        children:[
            {
                path:"home",
                name:"首页管理",
                meta:{
                    title:"首页管理",
                },

                component: () => import('@/page/admin/Home/index.vue')
            },{
                path:"set-meal",
                name:"套餐",
                meta:{
                    title:"鲜花套餐"
                },
                component: () => import('@/page/admin/Main/SetMeal.vue'),
            },{
                path:"story",
                name:"故事",
                meta:{
                    title:"鲜花故事"
                },
                component: () => import('@/page/admin/Main/Story.vue'),
            },{
                path:"story/story-context",
                name:"故事内容",
                meta:{
                    title:"鲜花故事",
                    isShow:false
                },
                component: () => import('@/page/admin/Main/Story/StoryContext.vue'),
            }
        ]
    }
]